﻿using System;
using System.Collections.Generic;

namespace SheepStorage.Domain.Entity
{
    /// <summary>
    /// 产羔耳标表
    /// </summary>
    public partial class EarTagTable
    {
        /// <summary>
        /// 主键,产羔耳标Id
        /// </summary>
        public int EarTagId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string  OverBit { get; set; }  
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string ? ElEarTag { get; set; }  
        /// <summary>
        /// 耳号类型
        /// </summary>
        public string ? EarTagType { get; set; }  
        /// <summary>
        /// 对应品种
        /// </summary>
        public int BirType { get; set; }
        /// <summary>
        /// 对应出生状态
        /// </summary>
        public int BirthState { get; set; }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime? WarehousingDate { get; set; }
        /// <summary>
        /// 入库操作人
        /// </summary>
        public string? WarehouseOperator { get; set; }  
        /// <summary>
        /// 使用状态
        /// </summary>
        public int? UseState { get; set; }
        /// <summary>
        /// 开始耳号
        /// </summary>
        public string? OverPrefix { get; set; }
        /// <summary>
        /// 耳号数量
        /// </summary>
        public string? OverNumber { get; set; }
        /// <summary>
        /// 耳号前缀
        /// </summary>
        public string ? EarpreFix { get; set; }  
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DelName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
        /// <summary>
        /// 逻辑删 0 未删除 1 已删除
        /// </summary>
        public int? IsDel { get; set; } = 0;
    }
}
